package com.wcm.system.repository.heyufushe;

import javax.persistence.*;
import java.sql.Blob;
import java.util.Arrays;

@Entity
@Table(name = "ARTICLE_ATTACHMENT", schema = "ORACLEADMIN", catalog = "")
public class ArticleAttachmentEntity {
    private String id;
    private String displayLabel;
    private String extension;
    private Blob binary;
    private Integer displayOrder;

    @Id
    @Column(name = "ID")
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Basic
    @Column(name = "DISPLAY_LABEL")
    public String getDisplayLabel() {
        return displayLabel;
    }

    public void setDisplayLabel(String displayLabel) {
        this.displayLabel = displayLabel;
    }

    @Basic
    @Column(name = "EXTENSION")
    public String getExtension() {
        return extension;
    }

    public void setExtension(String extension) {
        this.extension = extension;
    }

    @Basic
    @Column(name = "BINARY")
    public Blob getBinary() {
        return binary;
    }

    public void setBinary(Blob binary) {
        this.binary = binary;
    }

    @Basic
    @Column(name = "DISPLAY_ORDER")
    public Integer getDisplayOrder() {
        return displayOrder;
    }

    public void setDisplayOrder(Integer displayOrder) {
        this.displayOrder = displayOrder;
    }
}
